import http from '@/utils/http'
// 获取课程详情数据(主要用于获取专业会员的购买)
export function getPracticeExamMain(params) {
  return http.get('/wxpub/shop_extend/practice_exam_main', params)
}
// 获取做账实训记录列表(实操题库)
export function getPracticeExamList(params) {
  return http.get('/wxpub/shop_extend/practice_exam_list', params)
}

// 获取做账实训记录列表(实操题库)
export function getPracticeTaxList(params) {
  return http.get('/wxpub/shop_extend/practice_tax_list', params)
}

// 获取做账实训题库详情记录信息
export function getPracticeExamDetail(params) {
  return http.get('/wxpub/shop_extend/practice_exam_detail', params)
}

//获取实操做题进度记录信息
export function getExamProgress(params) {
  return http.get('/storage/practice_question/exam_progress', params)
}

// 获取热门搜索数据
export function getHotSearch(params) {
  return http.get('/wxpub/shop_extend/practice_merge', params)
}

// 获取之了税务实训地址
export function getPracticeTaxUrl(params) {
  return http.get('/wxpub/shop_extend/practice_tax_in', params)
}

// 获取网中网的登录后跳转
export function getWzwCourse(params) {
  return http.get('/app/wzw/student_login', params)
}

// 获取出纳实训记录列表[hubin 2022年11月29日19:49:15]
export function getPracticeCashierList(params) {
  return http.get('/wxpub/shop_extend/practice_cashier_list', params)
}
// 获取实训跳转地址[hubin 2022年11月30日11:05:22]
export function getPracticeCashierJumpUrl(params) {
  return http.get('/wxpub/shop_extend/practice_cashier_in', params)
}
// 获取实训中心首页banner
export function getSxBanner(params) {
  return http.get('/wxpub/shicao/home_banner', params)
}

/**
 * 出纳实训部分  2023.10.08新增
 */
// 获取课程详情
export function getPracticeCashierDetail(params) {
  return http.get('/wxpub/shop_extend/practice_cashier_detail', params)
}

// 提交出纳题目答案
export function submitCashierQuestion(params) {
  return http.post('/wxpub/shop_extend/submit_cashier_question', params)
}

// 题目重做
export function resetCashierQuestion(params) {
  return http.post('/wxpub/shop_extend/reset_cashier_question', params)
}

// 获取题目详情
export function getCashierQuestionInfo(params) {
  return http.get('/wxpub/shop_extend/question_info', params)
}
